package com.gym.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.gym.pojo.Personaltrainer;
import com.gym.pojo.Train;
import com.gym.vo.TrainVo;

import java.util.List;

public interface TrainService {
    public boolean insertjl(Train train);
    public boolean insertsjd(Personaltrainer pr);
    public boolean updatejl(Train train);
    public boolean deletejl(int trainId);
    public Train selectjlid(int trainId);
    public PageInfo<Train> selectjl(String trainname, int index, int size);
    public boolean deletesj(int trainId);
    public boolean deletesjs(int personalId);
    public List<Train> selectsjd();
    public boolean selectycz(String trainname);
}
